|
SET CAMERA FOV
This command will set field of view for the camera given an Angle value.
SET CAMERA FOV Field-Of-View Angle
SET CAMERA FOV Camera Number, Field-Of-View Angle
Camera Number
Integer
The camera number
Field-Of-View Angle
Float
The default angle is 61.9621391296
This command does not return a value.
The default angle is 61.9621391296 if you wish to restore the FOV back to defaults after changing it.
autocam on:backdrop on
make matrix 1,4000,4000,100,100
set matrix height 1,50,50,500
update matrix 1
make camera 1
position camera 1,0,500,500
point camera 1,2000,0,2000
fov=45
while mouseclick()<>1
set cursor 0,0
print "a-z Field-Of-View Angle ",fov
if inkey$()="a" then fov=fov-1:if fov<0 then fov=0
if inkey$()="z" then fov=fov+1
set camera fov 1,fov
endwhile
while mouseclick()=1 : endwhile
delete matrix 1:autocam off:backdrop off
end
CAMERA Commands Menu
Index
|